package bank.soap;

import java.io.IOException;
import java.net.UnknownHostException;

import bank.Bank;

final public class SOAPDriver implements bank.BankDriver {

	/**
	 * The SOAP service bank.
	 */
	private Bank bank = null;

	public void connect(String[] args) throws NumberFormatException, UnknownHostException, IOException {
		bank = new SOAPBank();
		System.out.println("soap connected...");
	}

	public void disconnect() {
		bank = null;
		System.out.println("soap disconnected...");
	}

	public Bank getBank() {
		return bank;
	}
}

